{% extends 'base/base.html' %}

{% block title %}
      编辑文章
{% endblock %}

    {% block js %}
        <script src="/static/ckeditor/ckeditor-init.js"></script>
        <script src="/static/ckeditor/ckeditor/ckeditor.js"></script>
    {% endblock %}

    {% block css %}
    <link rel="stylesheet" href="/static/ckeditor/fixups.js">
    <link rel="stylesheet" href="/static/ckeditor/ckeditor.css">
    {% endblock %}

{% block main %}


    <form action="" method="post">
        {% csrf_token %}
    {{ form.title.label_tag }}

    {{ form.title }}

    {{ form.content.label_tag }}

    {{ form.content }}

        {{ form.tags.label_tag }}

    {{ form.tags }}
        {{ form.categories.label_tag }}

    {{ form.categories }}

    <button type="submit" class="btn-success">提交</button>
    </form>


{% endblock %}

